package com.dongdongshop.service;

import com.dongdongshop.pojo.TbItem;
import com.dongdongshop.pojo.TbItemCat;

import java.util.List;

public interface ItemCatService {
   /* PageBean<TbItemCat> getItemCatList(Integer pageNumber, Integer pageSize, Long parentId);

    PageBean<TbItemCat> findDown(Integer pageNumber, Integer pageSize, Long id);*/


    Integer selectCount(Long parentId);

    List<TbItemCat> getListItemCat(Integer startPage, Integer pageSize, Long parentId);

    void saveTtemcat(TbItemCat tbItemCat);

    TbItemCat getItemCatById(Long id);

    void updateItem(TbItemCat tbItemCat);

    void deleteBatchCat(Integer[] ids);

    List<TbItemCat> getItemCatList(Long parentId);

    long getBrandByTempId(Long id);

    TbItemCat findItemByGoodsCagetoryId(Long category1Id);
}
